﻿using Microsoft.AspNetCore.Mvc;

namespace OrderService.Controllers
{

    [ApiController]
    [Route("api/[controller]")]
    public class UserController : ControllerBase
    {
        [HttpGet("getusers")]
        public IActionResult Check()
        {

            return Ok(new UserModel() { UserName = "罗群", PassWord = "123456" });
        }


        public class UserModel
        {

            public string UserName { get; set; }

            public string PassWord { get; set; }


        }
    }
}
